<%@page import="com.wgn.reportquery.cons.Const"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
    <%   
    String path = request.getContextPath();   
    String basePath = request.getScheme()+"://" +request.getServerName()+":" +request.getServerPort()+path+"/" ;
    request.getSession().setAttribute(Const.userName,null);
    request.getSession().setAttribute(Const.passwd,null);
    %>  

<!DOCTYPE html>
<html >
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">

    <title>成绩查询</title>

    <!-- Bootstrap core CSS -->
    <link href="<%=basePath%>/css/bootstrap.min.css" rel="stylesheet">

    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <link href="<%=basePath%>/css/ie10-viewport-bug-workaround.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="<%=basePath%>/css/signin.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="../../js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="<%=basePath%>/js/ie-emulation-modes-warning.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<link href="<%=basePath%>css/justified-nav.css"	rel="stylesheet">

  </head>

  <body>
<div class="masthead">
     
        <nav>
          <ul class="nav nav-justified">
            <li class="active"><a href="<%=basePath%>SigninServlet">首页</a></li>
         <li><a href="<%=basePath%>jsp/signin.jsp">退出</a></li>
            <li><a href="<%=basePath%>jsp/regist.jsp">注册</a></li>
            <li><a href="http://www.shdc.org.cn/familyServices/index">上海市医院报告查询和门诊预约</a></li>
            <li><a href='<%=basePath%>jsp/downrj.jsp'>下载仁济app</a></li>            
          </ul>
        </nav>
      </div>
    <div class="container"> <p>${err}</p>
<!-- <form class="form-signin" action="<%=basePath%>jsp/index.jsp" method="post"> -->
      <form class="form-signin" action="<%=basePath%>/SigninServlet" method="post">
        <h2 class="form-signin-heading">请登录</h2>
       
        请输入用户名<input  name="username" type="test" id="inputEmail" class="form-control" placeholder="Email address" required autofocus>
       
       请输入密码 <input name="passwd" type="password" id="inputPassword" class="form-control" placeholder="Password" required>
        
        <button class="btn btn-lg btn-primary btn-block" type="submit">登陆</button>
       	
       <button onclick="javascript:window.location.href='<%=basePath%>jsp/regist.jsp'" class="btn btn-lg btn-warning btn-block" type="button">注册</button>
      </form>
     
      <!--  
      <p>
     	体验账号:squail83@163.com,密码123     	
      </p>
      <p>如果想录入自己的信息,请先点击<a href="ReportQuery/jsp/regist.jsp">注册</a>,再点击<a target="_blank" href="http://www.shdc.org.cn/familyServices/index">上海市医院报告查询和门诊预约</a>，查询后将结果另存为网页，把网页上传本网站即可（支持单个网页和多个文件zip，rar打包）</p>-->
    </div> <!-- /container -->


    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="<%=basePath%>/js/ie10-viewport-bug-workaround.js"></script>
  </body>
</html>
